package tech.aistar.entity.dynamic;

import tech.aistar.entity.UserInfo;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by David on 2019/9/27.
 */
public class Picture implements Serializable {
    private Integer picId;

    private Integer userId;

    private Integer id;

    private Integer imgId;

    private String picType;

    private Date picDate;

    private Integer picViews;//图片浏览量

    private Integer picReport;

    private Integer picCollect;

    private String picImg;

    private UserInfo userInfo;

    public Picture() {
    }

    public Picture(Integer picId, Integer userId, Integer id, Integer imgId, String picType, Date picDate, Integer picViews, Integer picReport, Integer picCollect) {
        this.picId = picId;
        this.userId = userId;
        this.id = id;
        this.imgId = imgId;
        this.picType = picType;
        this.picDate = picDate;
        this.picViews = picViews;
        this.picReport = picReport;
        this.picCollect = picCollect;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public String getPicImg() {
        return picImg;
    }

    public void setPicImg(String picImg) {
        this.picImg = picImg;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Integer getPicId() {
        return picId;
    }

    public void setPicId(Integer picId) {
        this.picId = picId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getImgId() {
        return imgId;
    }

    public void setImgId(Integer imgId) {
        this.imgId = imgId;
    }

    public String getPicType() {
        return picType;
    }

    public void setPicType(String picType) {
        this.picType = picType;
    }

    public Date getPicDate() {
        return picDate;
    }

    public void setPicDate(Date picDate) {
        this.picDate = picDate;
    }

    public Integer getPicViews() {
        return picViews;
    }

    public void setPicViews(Integer picViews) {
        this.picViews = picViews;
    }

    public Integer getPicReport() {
        return picReport;
    }

    public void setPicReport(Integer picReport) {
        this.picReport = picReport;
    }

    public Integer getPicCollect() {
        return picCollect;
    }

    public void setPicCollect(Integer picCollect) {
        this.picCollect = picCollect;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Picture{");
        sb.append("picId=").append(picId);
        sb.append(", userId=").append(userId);
        sb.append(", id=").append(id);
        sb.append(", imgId=").append(imgId);
        sb.append(", picType='").append(picType).append('\'');
        sb.append(", picDate=").append(picDate);
        sb.append(", picViews=").append(picViews);
        sb.append(", picReport=").append(picReport);
        sb.append(", picCollect=").append(picCollect);
        sb.append(", picImg='").append(picImg).append('\'');
        sb.append(", userInfo=").append(userInfo);
        sb.append('}');
        return sb.toString();
    }
}
